<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>什么是数组</title>
  <script type="text/javascript">
    var myarr = new Array(); //定义数组
    myarr[0] = 80;
    myarr[1] = 60;
    myarr[2] = 99;
    document.write("第一个人的成绩是:" + myarr[0]);
    document.write("第二个人的成绩是:" + myarr[1]);
    document.write("第三个人的成绩是:" + myarr[2]);
  </script>
</head>

<body>

</html>